package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("category")
@ApiModel(value="Category对象", description="我的栏目")
public class Category implements Serializable {
    private static final long serialVersionUID=88945422565671L;
    @ApiModelProperty(value = "产品栏目id")
    @TableId(value = "category_id", type = IdType.AUTO)
    private Long categoryId;//list

    @ApiModelProperty(value = "店铺")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "栏目名称")
    @TableField("category_name")
    private String categoryName;//list  search  add   edit

    @ApiModelProperty(value = "描述")
    @TableField("category_description")
    private String categoryDescription;// add   edit

    @ApiModelProperty(value = "编码")
    @TableField("category_code")
    private String categoryCode;//list  search  add   edit

    @ApiModelProperty(value = "栏目下产品总数量")
    @TableField("product_count")
    private Integer productCount;//list editview(只能看，不能修改)

    @ApiModelProperty(value = "搜索引擎key")
    @TableField("meta_keyword")
    private String metaKeyword;

    @ApiModelProperty(value = "搜索引擎description")
    @TableField("meta_description")
    private String metaDescription;

    @ApiModelProperty(value = "会员级别 下拉框1--10")
    @TableField("membership_level")
    private Integer membershipLevel;// list  search  add   edit

    @ApiModelProperty(value = "发布区域")
    @TableField("region_path")
    private String regionPath;

    @ApiModelProperty(value = "模板路径")
    @TableField("template_path")
    private String templatePath;

    @ApiModelProperty(value = "栏目path")
    @TableField("category_path")
    private String categoryPath;//list  search  add   edit  格式: 爷爷id.父亲id.我的id.   *****

    @ApiModelProperty(value = "pc：图片url")
    @TableField("image_url")
    private String imageUrl;//list  add   edit

    @ApiModelProperty(value = "pc端前台 是否前台首页菜单 0 1")
    @TableField("pc_front_menu")
    private Integer pcFrontMenu;

    @ApiModelProperty(value = "移动客户端菜单 0 1")
    @TableField("ph_front_menu")
    private Integer phFrontMenu;

    @ApiModelProperty(value = "父id")
    @TableField("parent_id")
    private Long parentId; //list  add   edit  *** 下拉选择框，参考菜单父节点选择

    @ApiModelProperty(value = "排序降序")
    @TableField("seq")
    private Integer seq;//list  add   edit

    @ApiModelProperty(value = "状态 1激活 0失效")
    @TableField("status")
    private Integer status;//list  add   edit

    @ApiModelProperty(value = "逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}